package com.example.controller.toutea;

import com.example.pojo.toutea.Intercher;
import com.example.service.impl.toutea.IntercherServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 未审核通过
 * @author 小苏
 * @ClassName:IntercherController
 * @description: TODO
 * @data 2022/12/12 13:39
 * @version: 1.0
 **/
@CrossOrigin
@RestController
@RequestMapping("/inter")
public class IntercherController {
    @Autowired
    private IntercherServiceImpl intercherService;
    @ResponseBody
    @RequestMapping("/getIn")
    public List<Intercher> getC(){
        return intercherService.getChao();
    }
}
